#!/bin/bash

echo "Using SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE}"
echo "Using GLOBAL_JAVA_OPTS: ${GLOBAL_JAVA_OPTS}"

cd /apps/app/
java -jar -server ${GLOBAL_DEBUG_OPTS} ${GLOBAL_JAVA_OPTS} -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom ${APP_JAR_NAME}.jar
